import request from "@/util/request";

/**
 * @description 获取薪资选项
 * @param data
 * @returns {Promise}
 */
export function getSalaryList(data) {
	return request({
		url: '/getSalaryList',
		method: 'GET',
		data
	})
}

/**
 * @description 获取职位类别
 * @param data
 * @returns {Promise}
 */
export function getJobCategory(data) {
	return request({
		url: '/findJobName',
		method: 'POST',
		data
	})
}

/**
 * @description 获取行业
 * @param data
 * @returns {Promise}
 */
export function getIndustry(data) {
	return request({
		url: '/industry',
		method: 'GET',
		data
	})
}

/**
 * @description 获取企业规模
 * @param data
 * @returns {Promise}
 */
export function getScale(data) {
	return request({
		url: '/getScale',
		method: 'GET',
		data
	})
}

/**
 * @description 获取学历
 * @param data
 * @returns {Promise}
 */
export function getEducation(data) {
	return request({
		url: '/getEducation',
		method: 'GET',
		data
	})
}
/**
 * @description 获取语言
 * @param data
 * @returns {Promise}
 */
export function getLanguage(data) {
	return request({
		url: '/getLanguageList',
		method: 'GET',
		data
	})
}
/**
 * @description 获取熟练程度
 * @param data
 * @returns {Promise}
 */
export function getProficiency(data) {
	return request({
		url: '/getSkilledList',
		method: 'GET',
		data
	})
}

/**
 * @description 获取工作经验
 * @param data
 * @returns {Promise}
 */
export function getExperience(data) {
	return request({
		url: '/getExperience',
		method: 'GET',
		data
	})
}

/**
 * @description 获取招聘求职顶部tab
 * @param data
 * @returns {Promise}
 */
export function getMatchingIndustry(data) {
	return request({
		url: '/getMatchingIndustry',
		method: 'GET',
		data
	})
}

/**
 * @description 获取招聘求职顶部tab
 * @param data
 * @returns {Promise}
 */
export function getMatchingIndustryCom(data) {
	return request({
		url: '/getMatchingIndustryCom',
		method: 'GET',
		data
	})
}
/**
 * @description 获取企业性质
 * @param data
 * @returns {Promise}
 */
export function getEnterprise(data) {
	return request({
		url: '/getNatureList',
		method: 'GET',
		data
	})
}